{OVERALL_HEADER}
<div id="column">
	{OVERALL_LEFT_MENU}
</div>
<div id="content">
        <form action="private.php?cmd=delete" method="post" name="form1" style="padding:0px;"><span class="title2">{LANG_INBOX}</span><br>
          <br>
            <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="tablelist">
              <tr>
                <th width="30" height="30" nowrap="nowrap"></th>
				
                <th height="30" style="padding-left:5px;"><strong style="color:#666666;">{LANG_SUBJECT}</strong></th>
				
                <th width="100" height="30" style="padding-left:5px;"><strong style="color:#666666;">{LANG_FROM}</strong></th>
				
                <th width="150" height="30" bgcolor="#C7C7C7" style="padding-left:5px;"><strong style="color:#666666;">{LANG_DATE}</strong></th>
              </tr>
        {LOOP: MESSAGES}
        <tr class="normal" style="IF("{MESSAGES.read}"=="0"){font-weight:bold;{:IF}">
          <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><input type="checkbox" name="id[]" value="{MESSAGES.id}"></td>
		  
          <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="private.php?cmd=read&id={MESSAGES.id}">{MESSAGES.subject}</a></td>
		  
          <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;"><a href="profile.php?id={MESSAGES.from_id}&type={MESSAGES.from_type}">{MESSAGES.from_username}</a></td>
		  
          <td height="30" bgcolor="#F3F3F3" style="padding-left:5px;">{MESSAGES.date}</td>
        </tr>       
        {/LOOP: MESSAGES}
		IF("{MESSAGE_COUNT}"=="0"){<tr><td colspan="7" align="center" height="50"><strong>{LANG_NOMESS}</strong></td></tr><tr><td colspan="7" height="1" bgcolor="#C7C7C7"></td></tr>{:IF}
            </table>
          <br>
          <input name="delete" type="image" id="delete" src="templates/{TPL_NAME}/images/delete.gif" width="76" height="16" border="0">
          <br>
        </form>
</div>
<div style="clear:both;"></div>
{OVERALL_FOOTER}